package com.select.course.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.select.course.entity.SchoolClass;
import com.select.course.utils.PageUtils;
import com.select.course.utils.R;
import com.select.course.vo.ClassVo;
import com.select.course.vo.PageVo;

import java.util.List;

/**
* @author 24820
* @description 针对表【c_school_class】的数据库操作Service
* @createDate 2022-10-26 23:08:18
*/
public interface SchoolClassService extends IService<SchoolClass> {

    List<SchoolClass> getClassNameGroup();

    List<ClassVo> getClassByMajorName(String name);

    PageUtils getClassPage(PageVo pageVo);

    R addClass(ClassVo classVo);

    ClassVo getBanJiByBjId(String banjiid);

    void updateBanji(ClassVo classVo);

    R deleteBanJi(Long id);
}
